package net.linku.feign.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @ClassName JwtToken
 * @Description: Jwt实体类
 * @Author SilenceTian
 * @Date 2023/12/21
 * @Version V1.0
 **/
@Data
public class JwtToken {

    /**
     * access_token
     */
    @JsonProperty("access_token")
    private  String accessToken;

    /**
     * token 类型
     */
    @JsonProperty("token_type")
    private  String tokenType;

    /**
     * refresh_token
     */
    @JsonProperty("refresh_token")
    private  String refreshToken;

    /**
     * 过期时间
     */
    @JsonProperty("expires_in")
    private  Long expiresIn;

    /**
     * 范围
     */
    private  String scope;

    /**
     * 颁发凭证
     */
    private  String jti;
}
